package com.dz.basic.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 关联贷款资质数据，包括客户资质，商品贷款资质，订单资质
 * </p>
 *
 * @author star
 * @since 2017-06-27
 */
@TableName("t_relation_qualification")
public class RelationQualification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联对象id
     */
    @TableId("fitemid")
	private Long itemid;
    /**
     * 对象类型
     */
	@TableField("fitemClassid")
	private Integer itemClassid;
    /**
     * id
     */
	@TableField("fid")
	private Long id;
    /**
     * 根节点
     */
	@TableField("frootid")
	private Long rootid;
    /**
     * 父节点
     */
	@TableField("fparentid")
	private Long parentid;
    /**
     * 编码
     */
	@TableField("fcode")
	private String code;
    /**
     * 条件描述
     */
	@TableField("fdesc")
	private String desc;
    /**
     * 条件值类型
     */
	@TableField("ftype")
	private String type;
    /**
     * 条件值
     */
	@TableField("fvalue")
	private BigDecimal value;
    /**
     * 开始值
     */
	@TableField("fstartValue")
	private BigDecimal startValue;
    /**
     * 结束值
     */
	@TableField("fendValue")
	private BigDecimal endValue;
    /**
     * 排序
     */
	@TableField("findex")
	private Integer index;
    /**
     * 备注
     */
	@TableField("fremark")
	private String remark;


	public Long getItemid() {
		return itemid;
	}

	public void setItemid(Long itemid) {
		this.itemid = itemid;
	}

	public Integer getItemClassid() {
		return itemClassid;
	}

	public void setItemClassid(Integer itemClassid) {
		this.itemClassid = itemClassid;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRootid() {
		return rootid;
	}

	public void setRootid(Long rootid) {
		this.rootid = rootid;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getValue() {
		return value;
	}

	public void setValue(BigDecimal value) {
		this.value = value;
	}

	public BigDecimal getStartValue() {
		return startValue;
	}

	public void setStartValue(BigDecimal startValue) {
		this.startValue = startValue;
	}

	public BigDecimal getEndValue() {
		return endValue;
	}

	public void setEndValue(BigDecimal endValue) {
		this.endValue = endValue;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
